package stylistcrm.core.query;

/**
 * Created by yanwc on 2016/8/10.
 * 翻页信息
 */
public class PaginationConf {

    //当前页
    private int currentPage;

    //总共有多少条记录
    private int totalItems;

    //分页条目的长度
    private int pagesLength;

    // 每页展示的数据条数(默认15条）
    private int itemsPerPage=15;

    private int[] perPageOptions;

    private String rememberPerPage="perPageItems";

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public String getRememberPerPage() {
        return rememberPerPage;
    }

    public void setRememberPerPage(String rememberPerPage) {
        this.rememberPerPage = rememberPerPage;
    }

    public int[] getPerPageOptions() {
        return perPageOptions;
    }

    public void setPerPageOptions(int[] perPageOptions) {
        this.perPageOptions = perPageOptions;
    }

    public int getPagesLength() {
        return pagesLength;
    }

    public void setPagesLength(int pagesLength) {
        this.pagesLength = pagesLength;
    }

    public int getTotalItems() {
        return totalItems;
    }

    public void setTotalItems(int totalItems) {
        this.totalItems = totalItems;
    }

    public int getItemsPerPage() {
        return itemsPerPage;
    }

    public void setItemsPerPage(int itemsPerPage) {
        this.itemsPerPage = itemsPerPage;
    }
}
